package com.bank6677.sync.csm.domain.old;

public class LoanPawn {
    private Long pawnId;
    private Long applyId;
    private String pawnType;
    private String pawnCorrelation;
    private String coopProperty;
    private String coopCreateTime;
    private String coopRegAmount;
    private String infoProve;
    private String coopAnnual;
    private String coopAnnualProve;
    private String coopLoanCondition;
    private String overdueRecord;
    private String personJob;
    private String personAge;
    private String personAnnual;
    private String personAnnualProve;
    private String personLoanCondition;
    public Long getPawnId() {
        return pawnId;
    }

    public void setPawnId(Long pawnId) {
        this.pawnId = pawnId;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getPawnType() {
        return pawnType;
    }

    public void setPawnType(String pawnType) {
        this.pawnType = pawnType == null ? null : pawnType.trim();
    }

    public String getPawnCorrelation() {
        return pawnCorrelation;
    }

    public void setPawnCorrelation(String pawnCorrelation) {
        this.pawnCorrelation = pawnCorrelation == null ? null : pawnCorrelation.trim();
    }

    public String getCoopProperty() {
        return coopProperty;
    }

    public void setCoopProperty(String coopProperty) {
        this.coopProperty = coopProperty == null ? null : coopProperty.trim();
    }

    public String getCoopCreateTime() {
        return coopCreateTime;
    }

    public void setCoopCreateTime(String coopCreateTime) {
        this.coopCreateTime = coopCreateTime == null ? null : coopCreateTime.trim();
    }

    public String getCoopRegAmount() {
        return coopRegAmount;
    }

    public void setCoopRegAmount(String coopRegAmount) {
        this.coopRegAmount = coopRegAmount == null ? null : coopRegAmount.trim();
    }

    public String getInfoProve() {
        return infoProve;
    }

    public void setInfoProve(String infoProve) {
        this.infoProve = infoProve == null ? null : infoProve.trim();
    }

    public String getCoopAnnual() {
        return coopAnnual;
    }

    public void setCoopAnnual(String coopAnnual) {
        this.coopAnnual = coopAnnual == null ? null : coopAnnual.trim();
    }

    public String getCoopAnnualProve() {
        return coopAnnualProve;
    }

    public void setCoopAnnualProve(String coopAnnualProve) {
        this.coopAnnualProve = coopAnnualProve == null ? null : coopAnnualProve.trim();
    }

    public String getCoopLoanCondition() {
        return coopLoanCondition;
    }

    public void setCoopLoanCondition(String coopLoanCondition) {
        this.coopLoanCondition = coopLoanCondition == null ? null : coopLoanCondition.trim();
    }

    public String getOverdueRecord() {
        return overdueRecord;
    }

    public void setOverdueRecord(String overdueRecord) {
        this.overdueRecord = overdueRecord == null ? null : overdueRecord.trim();
    }

    public String getPersonJob() {
        return personJob;
    }

    public void setPersonJob(String personJob) {
        this.personJob = personJob == null ? null : personJob.trim();
    }

    public String getPersonAge() {
        return personAge;
    }

    public void setPersonAge(String personAge) {
        this.personAge = personAge == null ? null : personAge.trim();
    }

    public String getPersonAnnual() {
        return personAnnual;
    }

    public void setPersonAnnual(String personAnnual) {
        this.personAnnual = personAnnual == null ? null : personAnnual.trim();
    }

    public String getPersonAnnualProve() {
        return personAnnualProve;
    }

    public void setPersonAnnualProve(String personAnnualProve) {
        this.personAnnualProve = personAnnualProve == null ? null : personAnnualProve.trim();
    }

    public String getPersonLoanCondition() {
        return personLoanCondition;
    }

    public void setPersonLoanCondition(String personLoanCondition) {
        this.personLoanCondition = personLoanCondition == null ? null : personLoanCondition.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (!(that instanceof LoanPawn)) {
            return false;
        }
        LoanPawn other = (LoanPawn) that;
        return this.getPawnId() == null ? other == null : this.getPawnId().equals(other.getPawnId())
            && this.getApplyId() == null ? other == null : this.getApplyId().equals(other.getApplyId())
            && this.getPawnType() == null ? other == null : this.getPawnType().equals(other.getPawnType())
            && this.getPawnCorrelation() == null ? other == null : this.getPawnCorrelation().equals(other.getPawnCorrelation())
            && this.getCoopProperty() == null ? other == null : this.getCoopProperty().equals(other.getCoopProperty())
            && this.getCoopCreateTime() == null ? other == null : this.getCoopCreateTime().equals(other.getCoopCreateTime())
            && this.getCoopRegAmount() == null ? other == null : this.getCoopRegAmount().equals(other.getCoopRegAmount())
            && this.getInfoProve() == null ? other == null : this.getInfoProve().equals(other.getInfoProve())
            && this.getCoopAnnual() == null ? other == null : this.getCoopAnnual().equals(other.getCoopAnnual())
            && this.getCoopAnnualProve() == null ? other == null : this.getCoopAnnualProve().equals(other.getCoopAnnualProve())
            && this.getCoopLoanCondition() == null ? other == null : this.getCoopLoanCondition().equals(other.getCoopLoanCondition())
            && this.getOverdueRecord() == null ? other == null : this.getOverdueRecord().equals(other.getOverdueRecord())
            && this.getPersonJob() == null ? other == null : this.getPersonJob().equals(other.getPersonJob())
            && this.getPersonAge() == null ? other == null : this.getPersonAge().equals(other.getPersonAge())
            && this.getPersonAnnual() == null ? other == null : this.getPersonAnnual().equals(other.getPersonAnnual())
            && this.getPersonAnnualProve() == null ? other == null : this.getPersonAnnualProve().equals(other.getPersonAnnualProve())
            && this.getPersonLoanCondition() == null ? other == null : this.getPersonLoanCondition().equals(other.getPersonLoanCondition());
    }

    @Override
    public int hashCode() {
        int hash = 23;
        if (getPawnId() != null) {
            hash *= getPawnId().hashCode();
        }
        if (getApplyId() != null) {
            hash *= getApplyId().hashCode();
        }
        if (getPawnType() != null) {
            hash *= getPawnType().hashCode();
        }
        if (getPawnCorrelation() != null) {
            hash *= getPawnCorrelation().hashCode();
        }
        if (getCoopProperty() != null) {
            hash *= getCoopProperty().hashCode();
        }
        if (getCoopCreateTime() != null) {
            hash *= getCoopCreateTime().hashCode();
        }
        if (getCoopRegAmount() != null) {
            hash *= getCoopRegAmount().hashCode();
        }
        if (getInfoProve() != null) {
            hash *= getInfoProve().hashCode();
        }
        if (getCoopAnnual() != null) {
            hash *= getCoopAnnual().hashCode();
        }
        if (getCoopAnnualProve() != null) {
            hash *= getCoopAnnualProve().hashCode();
        }
        if (getCoopLoanCondition() != null) {
            hash *= getCoopLoanCondition().hashCode();
        }
        if (getOverdueRecord() != null) {
            hash *= getOverdueRecord().hashCode();
        }
        if (getPersonJob() != null) {
            hash *= getPersonJob().hashCode();
        }
        if (getPersonAge() != null) {
            hash *= getPersonAge().hashCode();
        }
        if (getPersonAnnual() != null) {
            hash *= getPersonAnnual().hashCode();
        }
        if (getPersonAnnualProve() != null) {
            hash *= getPersonAnnualProve().hashCode();
        }
        if (getPersonLoanCondition() != null) {
            hash *= getPersonLoanCondition().hashCode();
        }
        return hash;
    }
}